package br.com.fbv.distribuidos.model.commands;

import br.com.fbv.distribuidos.controller.DNSConnectionHandler;
import br.com.fbv.distribuidos.view.JanelaLog;

public class BaseCommandEnviar {

	protected DNSConnectionHandler server;
	protected JanelaLog  log;

	public BaseCommandEnviar(DNSConnectionHandler server) {
		super();
		this.server = server;
		this.log = JanelaLog.getInstance();
	}

	public void log(String msg) {
		this.log.log(msg);
	}

	public DNSConnectionHandler getServer() {
		return server;
	}

	public void setServer(DNSConnectionHandler server) {
		this.server = server;
	}
}
